package cn.kgc.ssm.response;

/**
 * @author 课工场
 * @date 2024/11/14
 * @description   业务   响应状态码
 */
public enum ResponseStatus {


    NOT_LOGIN(401,",没有认证,请认证后访问"),
    SUCCESS(0,"操作成功"),
    FAIL(110,"操作失败"),
    ERROR(500,"系统异常,请刷新重试...");

    private String message;
    private Integer code;

    ResponseStatus(Integer code,String message){
        this.code = code;
        this.message = message;
    }

    public String getMessage(){
        return this.message;
    }

    public Integer getCode(){

        return  this.code;
    }


}
